@import './variable';


// 引入字体图标
@font-face {
    font-family: 'iconfont';
    src: url('../font/iconfont.eot');
    src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'),
        url('../font/iconfont.woff2') format('woff2'),
        url('../font/iconfont.woff') format('woff'),
        url('../font/iconfont.ttf') format('truetype'),
        url('../font/iconfont.svg#iconfont') format('svg');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

// 版心
.w {
    width: 1200px;
    margin: 0 auto;
}

// 清除浮动
.clearFix::after {
    display: block;
    content: '';
    clear: both;
}


// 头部模块

.header {
    &_top {
        background-color: #F7F9FA;

        a,
        li {
            color: @color2;
        }

        a:hover {
            color: @color3;
        }

        .header_top_center {
            height: 40px;
            line-height: 40px;
            font-size: 12px;

            .header_top_center_left {
                float: left;
                a, div {
                    float: left;
                }

                div {
                    height: 40px;
                    overflow: hidden;
                }
                a {
                    margin-right: 50px;
                }

                ul {
                    overflow: hidden;
                    width: 550px;
                }
            }

            .header_top_center_right {
                float: right;

                ul li {
                    float: left;
                    height: 40px;
                }

                a {
                    padding: 0 10px;
                    border-right: 1px solid @color2;
                }

                ul li:first-child a {
                    position: relative;
                    padding-right: 35px;
                    font-size: 12px;
                }

                ul li:first-child a::after {
                    position: absolute;
                    top: -1px;
                    right: 15px;
                    content: '0';
                    width: 16px;
                    height: 16px;
                    line-height: 16px;
                    border-radius: 50%;
                    text-align: center;
                    color: #fff;
                    background-color: @color3;
                }

                ul li:first-child a::before {
                    position: absolute;
                    left: -10px;
                    top: -16px;
                    content: '\e707';
                    font-size: 16px;
                }

                ul li:last-child a {
                    padding-right: 0;
                    border: none;
                }
            }
        }
    }

    &_content {
        border: 1px solid #f0f1f2;
        border-left: none;
        border-right: none;

        &_center {
            height: 64px;
            line-height: 64px;

            a:hover {
                color: @color3;
            }

            &_left {
                float: left;

                ul,
                div {
                    float: left;
                }

                ul li {
                    float: left;
                    margin-right: 40px;
                }

                ul li:first-child::after {
                    content: '\e731';
                    font-size: 16px;
                }

                ul li,
                ul li a {
                    font-size: 14px;
                    color: @color1;
                }

                div {
                    margin-right: 50px;
                    // padding-left: 18px;
                    position: relative;
                    font-size: 18px;
                    color: @color1;
                }

                div span {
                    font-size: 25px;
                }

                div i {
                    vertical-align: top;
                }
            }

            &_right {
                float: right;

                form {
                    margin-top: 6px;
                    padding-left: 15px;
                    width: 300px;
                    height: 50px;
                    line-height: 50px;
                    border-bottom: 1px solid @color3;

                    input {
                        width: 240px;
                        height: 30px;
                        font-size: 14px;
                        border: none;
                    }

                    button {
                        font-size: 25px;
                        background-color: transparent;
                        border: none;
                    }
                }
            }
        }
    }

    &_bottom {
        a:hover {
            color: @color3;
        }

        ul {
            width: 100%;
            display: flex;
            justify-content: space-around
        }

        ul li {
            padding: 16px 0;
        }

        ul li a {
            height: 100px;
            color: @color1;
        }

        ul li a img {
            height: 56px;
        }

        ul li a div {
            padding-bottom: 10px;
            font-size: 12px;
            text-align: center;
        }
    }

}
